package com.fengwuj.mutils;

/**
 * description
 *
 * @author jiangbo [jiang.bo@unisinsight.com]
 * @Date 2020/9/22 15:02
 * @since 1.0
 */
public class ThreadR implements Runnable{
    public volatile int i = 1;

    @Override
    public void run() {
        System.out.println("第-----"+i+"----次执行");
        i++;
        try {
            Thread.sleep(5);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("第-----"+i+"----次结束");
    }
}
